package view.event.weapon.flute
{
	import flash.events.Event;
	
	import model.vo.weapon.FluteVo;
	
	
	/**
	 * FluteDetailView界面事件
	 * @author £iang
	 * 
	 */	
	public class FluteDetailViewEvent extends Event
	{
		//-----------------------------
		// variables
		//-----------------------------
		
		/** 显示详细 */
		public static const SHOW_DETAIL:String = "FluteDetailViewEvent.showDetail";
		/** 显示乐谱 */
		public static const SHOW_MELODY:String = "FluteDetailViewEvent.showMelody";
		
		//-----------------------------
		// properties
		//-----------------------------
		
		/** 详细数据 */
		private var _weaponVo:FluteVo;
		/** 音色类型 */
		private var _melodyType:int;

		//-----------------------------
		// setter&getter
		//-----------------------------
		
		/** 详细数据 */
		public function get weaponVo():FluteVo
		{
			return _weaponVo;
		}
		
		/**
		 * @private
		 */
		public function set weaponVo(value:FluteVo):void
		{
			_weaponVo = value;
		}
		
		/** 音色类型 */
		public function get melodyType():int
		{
			return _melodyType;
		}
		
		/**
		 * @private
		 */
		public function set melodyType(value:int):void
		{
			_melodyType = value;
		}
		
		//-----------------------------
		// methods
		//-----------------------------
		
		//-----------------------------
		// events
		//-----------------------------
		
		//-----------------------------
		// dispose
		//-----------------------------
		
		//-----------------------------
		// construction
		//-----------------------------
		
		/**
		 * 构造函数
		 *
		 */
		public function FluteDetailViewEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
	}
}